package com.nlp.reptile;

import java.io.IOException;
import java.util.Iterator;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class ReptileProduct {
	
	public static void main(String[] args) throws IOException {
		Document doc = null;
		String url = "http://m.womai.com/0c601.shtml";
		doc= Jsoup.connect(url).get();
		Elements select = doc.select("body");
		Iterator<Element> iterator = select.iterator();
		while(iterator.hasNext()) {
			Element e = iterator.next();
			System.out.println(e.data());
		}
	}

}
